package top.guxx.mall.rpc;

import org.springframework.stereotype.Service;
import top.guxx.mall.domain.vo.ProductVO;
import top.guxx.mall.service.IProductService;

import javax.annotation.Resource;
import java.math.BigDecimal;
import java.util.List;

/**
 * @Author：Guxx
 * @Description：
 * @Date：2025/2/19 0:15
 * @Filename：ProductRPC
 */

@Service
public class ProductRPC {

    @Resource
    private IProductService productService;

    public List<ProductVO> queryProductByProductId(List<String> productIds){
        List <ProductVO> res = productService.queryProductByProductIds(productIds);
        return res;
    }


}
